package com.km.team.phsystem.web.utils;

import java.util.Calendar;

/**
 * Author: jiangjun
 * Date: 2018/10/18
 * Time: 下午11:19
 * Description:
 */
public class CalendarUtils {

    public static String getUTCTimeStr() throws Exception {
        Calendar cal = Calendar.getInstance();
        return String.valueOf(cal.getTimeInMillis() / 1000);// 返回的就是UTC时间
    }

}
